home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-04-03 | 4.3 KB | [TEXT/MPad] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Apr 3 01:38:14 2000, modified Mon Apr 3 01:38:14 2000, creator 'MPad', type ASCII, 3605 bytes "Strings" , at 0xe95 458 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPad] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 53 74 72 69 6e 67 | 73 00 00 00 00 00 00 00 |..String|s.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 61 | 64 00 00 00 00 00 00 00 |.TEXTMPa|d.......|
|00000050| 00 00 00 00 00 0e 15 00 | 00 01 ca b5 0d de c6 b5 |........|........|
|00000060| 0d de c6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4f c5 00 00 |........|....O...|
|00000080| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |.-------|------- |
|00000090| 53 74 72 69 6e 67 73 0d | 0d 2d 2d 2d 20 53 74 72 |Strings.|.--- Str|
|000000a0| 69 6e 67 20 43 6f 6e 73 | 74 61 6e 74 73 0d 0d 54 |ing Cons|tants..T|
|000000b0| 65 78 74 20 73 74 72 69 | 6e 67 73 20 61 72 65 20 |ext stri|ngs are |
|000000c0| 75 73 65 64 20 66 6f 72 | 20 66 69 6c 65 20 6e 61 |used for| file na|
|000000d0| 6d 65 73 20 61 6e 64 20 | 70 6c 6f 74 20 6c 61 62 |mes and |plot lab|
|000000e0| 65 6c 73 2e 20 53 74 72 | 69 6e 67 73 20 61 72 65 |els. Str|ings are|
|000000f0| 20 65 6e 63 6c 6f 73 65 | 64 20 69 6e 20 64 6f 75 | enclose|d in dou|
|00000100| 62 6c 65 20 71 75 6f 74 | 65 73 20 61 6e 64 20 63 |ble quot|es and c|
|00000110| 61 6e 20 63 6f 6e 74 61 | 69 6e 20 62 6c 61 6e 6b |an conta|in blank|
|00000120| 73 20 6f 72 20 70 75 6e | 63 74 75 61 74 69 6f 6e |s or pun|ctuation|
|00000130| 20 62 75 74 20 74 68 65 | 79 20 63 61 6e 6e 6f 74 | but the|y cannot|
|00000140| 20 63 6f 6e 74 61 69 6e | 20 61 20 52 45 54 55 52 | contain| a RETUR|
|00000150| 4e 2e 20 0d 56 61 72 69 | 61 62 6c 65 73 20 63 61 |N. .Vari|ables ca|
|00000160| 6e 20 62 65 20 64 65 66 | 69 6e 65 64 20 6f 72 20 |n be def|ined or |
|00000170| 61 73 73 69 67 6e 65 64 | 20 61 73 20 73 74 72 69 |assigned| as stri|
|00000180| 6e 67 73 2e 20 49 66 20 | 74 68 65 20 76 61 72 69 |ngs. If |the vari|
|00000190| 61 62 6c 65 20 69 73 20 | 74 6f 20 62 65 20 65 76 |able is |to be ev|
|000001a0| 61 6c 75 61 74 65 64 20 | 6d 61 6e 79 20 74 69 6d |aluated |many tim|
|000001b0| 65 73 20 69 74 20 69 73 | 20 62 65 74 74 65 72 20 |es it is| better |
|000001c0| 74 6f 20 61 73 73 69 67 | 6e 20 74 68 65 20 73 74 |to assig|n the st|
|000001d0| 72 69 6e 67 20 73 6f 20 | 74 68 61 74 20 6d 75 6c |ring so |that mul|
|000001e0| 74 69 70 6c 65 20 63 6f | 70 69 65 73 20 6f 66 20 |tiple co|pies of |
|000001f0| 74 68 65 20 73 74 72 69 | 6e 67 20 64 6f 20 6e 6f |the stri|ng do no|
|00000200| 74 20 6e 65 65 64 20 74 | 6f 20 62 65 20 63 72 65 |t need t|o be cre|
|00000210| 61 74 65 64 2e 20 0d 0d | 2d 2d 2d 20 73 70 72 69 |ated. ..|--- spri|
|00000220| 6e 74 66 0d 0d 4e 75 6d | 65 72 69 63 20 72 65 73 |ntf..Num|eric res|
|00000230| 75 6c 74 73 20 63 61 6e | 20 62 65 20 63 6f 6e 76 |ults can| be conv|
|00000240| 65 72 74 65 64 20 74 6f | 20 73 74 72 69 6e 67 73 |erted to| strings|
|00000250| 20 77 69 74 68 20 74 68 | 65 20 62 75 69 6c 74 2d | with th|e built-|
|00000260| 69 6e 20 66 75 6e 63 74 | 69 6f 6e 20 73 70 72 69 |in funct|ion spri|
|00000270| 6e 74 66 28 66 6f 72 6d | 61 74 2c 6e 29 2e 20 54 |ntf(form|at,n). T|
|00000280| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|00000290| 65 73 73 65 6e 74 69 61 | 6c 6c 79 20 74 68 65 20 |essentia|lly the |
|000002a0| 73 61 6d 65 20 61 73 20 | 74 68 65 20 43 20 73 74 |same as |the C st|
|000002b0| 61 6e 64 61 72 64 20 6c | 69 62 72 61 72 79 20 66 |andard l|ibrary f|
|000002c0| 75 6e 63 74 69 6f 6e 2e | 20 0d 54 68 65 20 66 6f |unction.| .The fo|
|000002d0| 72 6d 61 74 20 70 61 72 | 61 6d 65 74 65 72 20 69 |rmat par|ameter i|
|000002e0| 73 20 61 20 73 74 72 69 | 6e 67 20 77 68 69 63 68 |s a stri|ng which|
|000002f0| 20 63 6f 6e 74 72 6f 6c | 73 20 74 68 65 20 63 6f | control|s the co|
|00000300| 6e 76 65 72 73 69 6f 6e | 2e 20 54 68 65 20 66 6f |nversion|. The fo|
|00000310| 72 6d 61 74 20 6d 75 73 | 74 20 63 6f 6e 74 61 69 |rmat mus|t contai|
|00000320| 6e 20 61 20 73 69 6e 67 | 6c 65 20 63 6f 6e 76 65 |n a sing|le conve|
|00000330| 72 73 69 6f 6e 20 73 70 | 65 63 69 66 69 63 61 74 |rsion sp|ecificat|
|00000340| 69 6f 6e 2e 20 41 6e 79 | 20 63 68 61 72 61 63 74 |ion. Any| charact|
|00000350| 65 72 73 20 74 68 61 74 | 20 61 72 65 20 6e 6f 74 |ers that| are not|
|00000360| 20 70 61 72 74 20 6f 66 | 20 74 68 65 20 63 6f 6e | part of| the con|
|00000370| 76 65 72 73 69 6f 6e 20 | 73 70 65 63 69 66 69 63 |version |specific|
|00000380| 61 74 69 6f 6e 20 61 72 | 65 20 63 6f 70 69 65 64 |ation ar|e copied|
|00000390| 20 64 69 72 65 63 74 6c | 79 20 74 6f 20 74 68 65 | directl|y to the|
|000003a0| 20 72 65 73 75 6c 74 20 | 73 74 72 69 6e 67 2e 20 | result |string. |
|000003b0| 41 20 63 6f 6e 76 65 72 | 73 69 6f 6e 20 73 70 65 |A conver|sion spe|
|000003c0| 63 69 66 69 63 61 74 69 | 6f 6e 20 62 65 67 69 6e |cificati|on begin|
|000003d0| 73 20 77 69 74 68 20 61 | 20 25 20 63 68 61 72 61 |s with a| % chara|
|000003e0| 63 74 65 72 2e 20 41 20 | 25 20 63 68 61 72 61 63 |cter. A |% charac|
|000003f0| 74 65 72 20 63 61 6e 20 | 62 65 20 6f 75 70 75 74 |ter can |be ouput|
|00000400| 20 62 79 20 75 73 69 6e | 67 20 25 25 2e 20 0d 54 | by usin|g %%. .T|
|00000410| 68 65 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 68 61 |he conve|rsion ha|
|00000420| 73 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |s the fo|llowing |
|00000430| 66 6f 72 6d 3a 20 28 62 | 72 61 63 6b 65 74 73 20 |form: (b|rackets |
|00000440| 69 6e 64 69 63 61 74 65 | 20 6f 70 74 69 6f 6e 61 |indicate| optiona|
|00000450| 6c 20 76 61 6c 75 65 73 | 29 2e 0d 0d ca 25 5b 66 |l values|)....%[f|
|00000460| 6c 61 67 73 5d 5b 73 69 | 7a 65 5d 5b 2e 70 72 65 |lags][si|ze][.pre|
|00000470| 63 69 73 69 6f 6e 5d 63 | 6f 6e 76 65 72 73 69 6f |cision]c|onversio|
|00000480| 6e 0d 0d 66 6c 61 67 0d | 2d 20 20 20 20 20 20 20 |n..flag.|- |
|00000490| 6c 65 66 74 20 6a 75 73 | 74 69 66 79 0d 2b 20 20 |left jus|tify.+ |
|000004a0| 20 20 20 20 20 69 6e 63 | 6c 75 64 65 20 6c 65 61 | inc|lude lea|
|000004b0| 64 69 6e 67 20 70 6c 75 | 73 0d 73 70 61 63 65 20 |ding plu|s.space |
|000004c0| 20 20 69 6e 63 6c 75 64 | 65 20 61 20 6c 65 61 64 | includ|e a lead|
|000004d0| 69 6e 67 20 73 70 61 63 | 65 0d 30 20 20 20 20 20 |ing spac|e.0 |
|000004e0| 20 20 70 61 64 20 77 69 | 74 68 20 6c 65 61 64 69 | pad wi|th leadi|
|000004f0| 6e 67 20 7a 65 72 6f 73 | 0d 23 20 20 20 20 20 20 |ng zeros|.# |
|00000500| 20 75 73 65 20 61 6c 74 | 65 72 6e 61 74 65 20 66 | use alt|ernate f|
|00000510| 6f 72 6d 0d 0d 73 69 7a | 65 0d 6d 69 6e 69 6d 75 |orm..siz|e.minimu|
|00000520| 6d 20 6e 75 6d 62 65 72 | 20 6f 66 20 6f 75 74 70 |m number| of outp|
|00000530| 75 74 20 63 68 61 72 61 | 63 74 65 72 73 0d 54 68 |ut chara|cters.Th|
|00000540| 65 20 66 69 65 6c 64 20 | 69 73 20 70 61 64 64 65 |e field |is padde|
|00000550| 64 20 77 69 74 68 20 73 | 70 61 63 65 73 20 69 66 |d with s|paces if|
|00000560| 20 6e 65 65 64 65 64 2e | 0d 0d 70 72 65 63 69 73 | needed.|..precis|
|00000570| 69 6f 6e 0d 66 6c 6f 61 | 74 69 6e 67 20 70 6f 69 |ion.floa|ting poi|
|00000580| 6e 74 20 20 20 6e 75 6d | 62 65 72 20 6f 66 20 64 |nt num|ber of d|
|00000590| 69 67 69 74 73 20 61 66 | 74 65 72 20 74 68 65 20 |igits af|ter the |
|000005a0| 64 65 63 69 6d 61 6c 20 | 70 6f 69 6e 74 0d 69 6e |decimal |point.in|
|000005b0| 74 65 67 65 72 20 20 20 | 20 20 20 20 20 20 20 6d |teger | m|
|000005c0| 69 6e 69 6d 75 6d 20 6e | 75 6d 62 65 72 20 6f 66 |inimum n|umber of|
|000005d0| 20 64 69 67 69 74 73 0d | 73 74 72 69 6e 67 20 20 | digits.|string |
|000005e0| 20 20 20 20 20 20 20 20 | 20 6d 61 78 69 6d 75 6d | | maximum|
|000005f0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 61 | number |of chara|
|00000600| 63 74 65 72 73 0d 0d 63 | 6f 6e 76 65 72 73 69 6f |cters..c|onversio|
|00000610| 6e 0d 63 68 61 72 61 63 | 74 65 72 20 20 20 20 20 |n.charac|ter |
|00000620| 20 20 6e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | n | |
|00000630| 20 20 6f 75 74 70 75 74 | 20 20 20 20 20 20 20 20 | output| |
|00000640| 20 20 20 20 20 20 20 20 | 20 20 23 20 61 6c 74 65 | | # alte|
|00000650| 72 6e 61 74 65 20 66 6f | 72 6d 20 0d 63 20 20 20 |rnate fo|rm .c |
|00000660| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 73 63 69 | | asci|
|00000670| 69 20 63 6f 64 65 20 20 | 20 20 20 20 73 69 6e 67 |i code | sing|
|00000680| 6c 65 20 63 68 61 72 61 | 63 74 65 72 20 0d 64 20 |le chara|cter .d |
|00000690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 6e | | in|
|000006a0| 74 65 67 65 72 20 20 20 | 20 20 20 20 20 20 73 69 |teger | si|
|000006b0| 67 6e 65 64 20 69 6e 74 | 65 67 65 72 20 0d 65 20 |gned int|eger .e |
|000006c0| 45 20 20 20 20 20 20 20 | 20 20 20 20 20 20 66 6c |E | fl|
|000006d0| 6f 61 74 69 6e 67 20 70 | 6f 69 6e 74 20 20 45 20 |oating p|oint E |
|000006e0| 66 6f 72 6d 61 74 20 20 | 20 20 20 20 20 20 20 20 |format | |
|000006f0| 20 20 20 20 20 20 61 6c | 77 61 79 73 20 69 6e 63 | al|ways inc|
|00000700| 6c 75 64 65 20 70 6f 69 | 6e 74 0d 66 20 20 20 20 |lude poi|nt.f |
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 66 6c 6f 61 74 | | float|
|00000720| 69 6e 67 20 70 6f 69 6e | 74 20 20 66 69 78 65 64 |ing poin|t fixed|
|00000730| 20 70 6f 69 6e 74 20 66 | 6f 72 6d 61 74 20 20 20 | point f|ormat |
|00000740| 20 20 20 61 6c 77 61 79 | 73 20 69 6e 63 6c 75 64 | alway|s includ|
|00000750| 65 20 70 6f 69 6e 74 0d | 67 20 47 20 20 20 20 20 |e point.|g G |
|00000760| 20 20 20 20 20 20 20 20 | 66 6c 6f 61 74 69 6e 67 | |floating|
|00000770| 20 70 6f 69 6e 74 20 20 | 73 6d 61 6c 6c 65 72 20 | point |smaller |
|00000780| 6f 66 20 66 20 6f 72 20 | 65 20 20 20 20 20 20 20 |of f or |e |
|00000790| 69 6e 63 6c 75 64 65 20 | 74 72 61 69 6c 69 6e 67 |include |trailing|
|000007a0| 20 7a 65 72 6f 73 0d 69 | 20 20 20 20 20 20 20 20 | zeros.i| |
|000007b0| 20 20 20 20 20 20 20 69 | 6e 74 65 67 65 72 20 73 | i|nteger s|
|000007c0| 69 67 6e 65 64 20 20 69 | 6e 74 65 67 65 72 0d 6f |igned i|nteger.o|
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|000007e0| 6e 74 65 67 65 72 20 6f | 63 74 61 6c 20 20 20 66 |nteger o|ctal f|
|000007f0| 6f 72 63 65 20 6c 65 61 | 64 69 6e 67 20 7a 65 72 |orce lea|ding zer|
|00000800| 6f 0d 73 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o.s | |
|00000810| 20 20 73 74 72 69 6e 67 | 20 20 20 20 20 20 20 20 | string| |
|00000820| 20 20 73 74 72 69 6e 67 | 20 20 20 20 20 20 20 20 | string| |
|00000830| 20 20 20 20 20 20 20 20 | 20 20 6e 6f 74 20 61 6c | | not al|
|00000840| 6c 6f 77 65 64 0d 75 20 | 20 20 20 20 20 20 20 20 |lowed.u | |
|00000850| 20 20 20 20 20 20 69 6e | 74 65 67 65 72 20 20 20 | in|teger |
|00000860| 20 20 20 20 20 20 75 6e | 73 69 67 6e 65 64 20 69 | un|signed i|
|00000870| 6e 74 65 67 65 72 0d 78 | 20 58 20 20 20 20 20 20 |nteger.x| X |
|00000880| 20 20 20 20 20 20 20 69 | 6e 74 65 67 65 72 20 20 | i|nteger |
|00000890| 20 20 20 20 20 20 20 68 | 65 78 61 64 65 63 69 6d | h|exadecim|
|000008a0| 61 6c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 75 |al | u|
|000008b0| 73 65 20 30 78 20 70 72 | 65 66 69 78 0d 0d 0d 65 |se 0x pr|efix...e|
|000008c0| 78 61 6d 70 6c 65 73 3a | 0d 0d 66 6f 72 6d 61 74 |xamples:|..format|
|000008d0| 20 20 20 20 20 20 20 20 | 20 20 73 70 72 69 6e 74 | | sprint|
|000008e0| 66 28 66 6f 72 6d 61 74 | 2c 34 32 29 20 0d 22 6e |f(format|,42) ."n|
|000008f0| 3d 25 66 22 20 20 20 20 | 20 20 20 20 20 20 22 6e |=%f" | "n|
|00000900| 3d 34 32 2e 30 30 30 30 | 30 30 22 0d 22 6e 3d 25 |=42.0000|00"."n=%|
|00000910| 65 22 20 20 20 20 20 20 | 20 20 20 20 22 6e 3d 34 |e" | "n=4|
|00000920| 2e 32 30 30 30 30 30 65 | 2b 30 31 22 0d 22 6e 3d |.200000e|+01"."n=|
|00000930| 25 45 22 20 20 20 20 20 | 20 20 20 20 20 22 6e 3d |%E" | "n=|
|00000940| 34 2e 32 30 30 30 30 30 | 45 2b 30 31 22 0d 22 6e |4.200000|E+01"."n|
|00000950| 3d 25 67 22 20 20 20 20 | 20 20 20 20 20 20 22 6e |=%g" | "n|
|00000960| 3d 34 32 22 0d 22 6e 3d | 25 2e 32 66 22 20 20 20 |=42"."n=|%.2f" |
|00000970| 20 20 20 20 20 22 6e 3d | 34 32 2e 30 30 22 0d 22 | "n=|42.00"."|
|00000980| 6e 3d 25 31 30 2e 32 66 | 22 20 20 20 20 20 20 22 |n=%10.2f|" "|
|00000990| 6e 3d 20 20 20 20 20 34 | 32 2e 30 30 22 0d 22 6e |n= 4|2.00"."n|
|000009a0| 3d 25 2d 31 30 2e 32 66 | 22 20 20 20 20 20 22 6e |=%-10.2f|" "n|
|000009b0| 3d 34 32 2e 30 30 20 20 | 20 20 20 22 0d 22 6e 3d |=42.00 | "."n=|
|000009c0| 25 64 22 20 20 20 20 20 | 20 20 20 20 20 22 6e 3d |%d" | "n=|
|000009d0| 34 32 22 0d 22 6e 3d 25 | 58 22 20 20 20 20 20 20 |42"."n=%|X" |
|000009e0| 20 20 20 20 22 6e 3d 32 | 41 22 0d 22 6e 3d 25 6f | "n=2|A"."n=%o|
|000009f0| 22 20 20 20 20 20 20 20 | 20 20 20 22 6e 3d 35 32 |" | "n=52|
|00000a00| 22 0d 22 6e 3d 25 63 22 | 20 20 20 20 20 20 20 20 |"."n=%c"| |
|00000a10| 20 20 22 6e 3d 2a 22 0d | 0d 0d 2d 2d 2d 20 43 6f | "n=*".|..--- Co|
|00000a20| 6e 63 61 74 65 6e 61 74 | 69 6f 6e 0d 0d 54 68 65 |ncatenat|ion..The|
|00000a30| 20 73 70 72 69 6e 74 66 | 20 66 75 6e 63 74 69 6f | sprintf| functio|
|00000a40| 6e 20 6f 6e 6c 79 20 61 | 6c 6c 6f 77 73 20 6f 6e |n only a|llows on|
|00000a50| 65 20 63 6f 6e 76 65 72 | 73 69 6f 6e 20 69 6e 20 |e conver|sion in |
|00000a60| 74 68 65 20 66 6f 72 6d | 61 74 20 73 74 72 69 6e |the form|at strin|
|00000a70| 67 20 62 75 74 20 72 65 | 73 75 6c 74 73 20 63 61 |g but re|sults ca|
|00000a80| 6e 20 62 65 20 6a 6f 69 | 6e 65 64 20 74 6f 67 65 |n be joi|ned toge|
|00000a90| 74 68 65 72 20 77 69 74 | 68 20 74 68 65 20 63 6f |ther wit|h the co|
|00000aa0| 6e 63 61 74 65 6e 61 74 | 69 6f 6e 20 6f 70 65 72 |ncatenat|ion oper|
|00000ab0| 61 74 6f 72 20 27 7c 27 | 20 2e 20 42 6f 74 68 20 |ator '|'| . Both |
|00000ac0| 6f 70 65 72 61 6e 64 73 | 20 6d 75 73 74 20 62 65 |operands| must be|
|00000ad0| 20 73 74 72 69 6e 67 73 | 2e 20 0d 0d 22 77 68 61 | strings|. .."wha|
|00000ae0| 74 22 20 7c 20 22 6e 6f | 74 22 3a 22 77 68 61 74 |t" | "no|t":"what|
|00000af0| 6e 6f 74 22 0d 0d 0d 2d | 2d 2d 20 53 74 72 69 6e |not"...-|-- Strin|
|00000b00| 67 20 4f 75 74 70 75 74 | 0d 0d 53 74 72 69 6e 67 |g Output|..String|
|00000b10| 20 72 65 73 75 6c 74 73 | 20 61 72 65 20 73 68 6f | results| are sho|
|00000b20| 77 6e 20 69 6e 20 71 75 | 6f 74 65 73 2e 20 54 68 |wn in qu|otes. Th|
|00000b30| 65 20 74 61 62 6c 65 20 | 63 6f 6d 6d 61 6e 64 20 |e table |command |
|00000b40| 63 61 6e 20 62 65 20 75 | 73 65 64 20 74 6f 20 6f |can be u|sed to o|
|00000b50| 75 74 70 75 74 20 61 72 | 72 61 79 73 20 77 69 74 |utput ar|rays wit|
|00000b60| 68 20 73 74 72 69 6e 67 | 20 65 6c 65 6d 65 6e 74 |h string| element|
|00000b70| 73 2e 20 0d 0d 77 65 65 | 6b 64 61 79 73 20 3d 20 |s. ..wee|kdays = |
|00000b80| 7b 22 6d 6f 6e 22 2c 22 | 74 75 65 73 22 2c 22 77 |{"mon","|tues","w|
|00000b90| 65 64 22 2c 22 74 68 75 | 72 73 22 2c 22 66 72 69 |ed","thu|rs","fri|
|00000ba0| 22 7d 0d 0d 74 61 62 6c | 65 20 7b 77 65 65 6b 64 |"}..tabl|e {weekd|
|00000bb0| 61 79 73 7d 0d ca ca ca | ca 22 6d 6f 6e 22 ca ca |ays}....|."mon"..|
|00000bc0| ca ca 22 74 75 65 73 22 | ca ca ca ca 22 77 65 64 |.."tues"|...."wed|
|00000bd0| 22 20 ca ca ca ca 22 74 | 68 75 72 73 22 ca ca ca |" ...."t|hurs"...|
|00000be0| ca 22 66 72 69 22 0d 0d | 54 68 65 20 77 72 69 74 |."fri"..|The writ|
|00000bf0| 65 28 29 20 66 75 6e 63 | 74 69 6f 6e 20 77 69 6c |e() func|tion wil|
|00000c00| 6c 20 77 72 69 74 65 20 | 6f 75 74 20 73 74 72 69 |l write |out stri|
|00000c10| 6e 67 73 20 66 6f 72 20 | 74 68 65 20 73 70 65 63 |ngs for |the spec|
|00000c20| 69 61 6c 20 63 61 73 65 | 20 6f 66 20 61 20 32 44 |ial case| of a 2D|
|00000c30| 20 61 72 72 61 79 20 6f | 66 20 73 74 72 69 6e 67 | array o|f string|
|00000c40| 73 20 61 6e 64 20 61 20 | 54 45 58 54 20 66 69 6c |s and a |TEXT fil|
|00000c50| 65 2e 20 45 61 63 68 20 | 73 74 72 69 6e 67 20 69 |e. Each |string i|
|00000c60| 73 20 77 72 69 74 74 65 | 6e 20 6f 75 74 20 77 69 |s writte|n out wi|
|00000c70| 74 68 20 6e 6f 20 71 75 | 6f 74 65 73 20 6f 72 20 |th no qu|otes or |
|00000c80| 73 65 70 61 72 61 74 6f | 72 73 2e 20 41 20 6c 69 |separato|rs. A li|
|00000c90| 6e 65 20 69 6e 20 74 68 | 65 20 6f 75 74 70 75 74 |ne in th|e output|
|00000ca0| 20 66 69 6c 65 20 63 6f | 72 72 65 73 70 6f 6e 64 | file co|rrespond|
|00000cb0| 73 20 74 6f 20 61 20 72 | 6f 77 20 69 6e 20 74 68 |s to a r|ow in th|
|00000cc0| 65 20 32 44 20 61 72 72 | 61 79 2e 20 0d 41 6e 20 |e 2D arr|ay. .An |
|00000cd0| 65 78 70 6c 69 63 69 74 | 20 69 6e 64 65 78 20 6f |explicit| index o|
|00000ce0| 6e 20 61 20 73 74 72 69 | 6e 67 20 77 69 6c 6c 20 |n a stri|ng will |
|00000cf0| 65 78 74 72 61 63 74 20 | 74 68 65 20 41 53 43 49 |extract |the ASCI|
|00000d00| 49 20 76 61 6c 75 65 20 | 6f 66 20 61 20 73 69 6e |I value |of a sin|
|00000d10| 67 6c 65 20 63 68 61 72 | 61 63 74 65 72 20 0d 0d |gle char|acter ..|
|00000d20| 22 74 75 65 73 22 5b 31 | 5d 3a 31 31 36 20 2d 2d |"tues"[1|]:116 --|
|00000d30| 20 31 31 36 20 69 73 20 | 74 68 65 20 41 53 43 49 | 116 is |the ASCI|
|00000d40| 49 20 63 6f 64 65 20 66 | 6f 72 20 27 74 27 0d 22 |I code f|or 't'."|
|00000d50| 74 75 65 73 22 5b 32 5d | 3a 31 31 37 20 2d 2d 20 |tues"[2]|:117 -- |
|00000d60| 31 31 37 20 69 73 20 74 | 68 65 20 41 53 43 49 49 |117 is t|he ASCII|
|00000d70| 20 63 6f 64 65 20 66 6f | 72 20 27 75 27 0d 0d 53 | code fo|r 'u'..S|
|00000d80| 74 72 69 6e 67 73 20 61 | 72 65 20 6e 6f 74 20 67 |trings a|re not g|
|00000d90| 65 6e 65 72 61 6c 20 70 | 75 72 70 6f 73 65 20 6f |eneral p|urpose o|
|00000da0| 62 6a 65 63 74 73 2e 20 | 54 68 65 79 20 61 72 65 |bjects. |They are|
|00000db0| 20 68 61 6e 64 6c 65 64 | 20 69 6e 20 74 68 65 20 | handled| in the |
|00000dc0| 61 62 6f 76 65 20 73 70 | 65 63 69 61 6c 20 63 61 |above sp|ecial ca|
|00000dd0| 73 65 73 2e 20 4d 6f 73 | 74 20 6f 74 68 65 72 20 |ses. Mos|t other |
|00000de0| 6f 70 65 72 61 74 69 6f | 6e 73 20 77 69 6c 6c 20 |operatio|ns will |
|00000df0| 68 61 76 65 20 6e 6f 20 | 65 66 66 65 63 74 20 6f |have no |effect o|
|00000e00| 6e 20 74 68 65 20 73 74 | 72 69 6e 67 20 61 6e 64 |n the st|ring and|
|00000e10| 20 77 69 6c 6c 20 6e 6f | 74 20 67 65 6e 65 72 61 | will no|t genera|
|00000e20| 74 65 20 61 6e 79 20 65 | 72 72 6f 72 20 6d 65 73 |te any e|rror mes|
|00000e30| 73 61 67 65 73 2e 20 49 | 6e 20 63 61 73 65 73 20 |sages. I|n cases |
|00000e40| 77 68 65 72 65 20 61 20 | 73 74 72 69 6e 67 20 69 |where a |string i|
|00000e50| 73 20 6e 6f 74 20 61 6c | 6c 6f 77 65 64 2c 20 61 |s not al|lowed, a|
|00000e60| 6e 20 75 6e 64 65 66 69 | 6e 65 64 20 6f 72 20 61 |n undefi|ned or a|
|00000e70| 6e 20 61 72 72 61 79 20 | 6f 66 20 41 53 43 49 49 |n array |of ASCII|
|00000e80| 20 76 61 6c 75 65 73 20 | 69 73 20 75 73 65 64 2e | values |is used.|
|00000e90| 20 20 20 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 | .....|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 01 00 00 00 01 64 | 00 00 00 64 00 00 00 66 |.......d|...d...f|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 20 02 02 02 03 | 00 02 3f f9 8e fa 35 12 |... ....|..?...5.|
|00001010| 94 e9 c8 ae 01 ee 01 b1 | 00 05 00 29 01 04 01 2c |........|...)...,|
|00001020| 00 fc 00 29 00 00 00 14 | 00 04 06 4d 6f 6e 61 63 |...)....|...Monac|
|00001030| 6f 01 39 06 4d 6f 6e 61 | 63 6f 01 39 00 00 00 24 |o.9.Mona|co.9...$|
|00001040| 3f 00 00 00 3f 00 80 e8 | 00 00 00 00 3f 00 01 00 |?...?...|....?...|
|00001050| 7f 80 00 00 00 00 00 00 | ff c0 00 c0 ff c0 00 00 |........|........|
|00001060| 00 00 80 e8 00 00 01 00 | 00 00 01 64 00 00 00 64 |........|...d...d|
|00001070| 00 00 00 66 02 f4 0e 98 | 02 32 00 00 00 1c 00 5a |...f....|.2.....Z|
|00001080| 00 02 50 52 65 66 00 00 | 00 1a 53 54 52 23 00 00 |..PRef..|..STR#..|
|00001090| 00 26 53 50 52 46 00 00 | 00 32 00 80 ff ff 00 00 |.&SPRF..|.2......|
|000010a0| 00 00 02 f4 2e 88 00 81 | 00 00 00 00 00 24 02 f6 |........|.....$..|
|000010b0| 0b d8 00 80 ff ff 00 00 | 00 3c 02 f4 2f 20 0b 66 |........|.<../ .f|
|000010c0| 6f 6e 74 20 26 20 73 69 | 7a 65 00 00 00 00 00 00 |ont & si|ze......|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+